//
// Created by bxw57 on 2024/4/21.
//

#ifndef CPPPRACTICE_PERSON_H
#define CPPPRACTICE_PERSON_H
#include <iostream>
using namespace std;

enum workSet {fuDaoYuan, jiaoWuChu, fuJiaoShou, jiaoShou};
enum grades {first=1, second, third};

class Person {
protected:
    string name;
    int age;
public:
    Person():name("default"), age(22){}
    Person(string name, int age):name(name), age(age){}
    string getName();
    void setName(string name);
    int getAge();
    void setAge(int age);
    virtual void introduce() = 0;

};


#endif //CPPPRACTICE_PERSON_H
